import service from "@/utils/request"
// 宠物话题图片上传
export const addTopic = (data) => {
    return service({
        method: 'post',
        url: '/v1/addT',
        data
    })
}
// 宠物送养图片
export const addsubmitImg = (data) => {
    return service({
        method: 'post',
        url: '/v1/addsubmitImg',
        data
    })
}
// 更新submissionpic表中的nid
export const update = (data) => {
    return service({
        method: 'put',
        url: '/v1/update',
        data
    })
}